<style>
.wind_content1Rspan a{ font-weight:normal;}
.newaa{ color:#FF9C00}
.wind_content1R  a:hover{color: #f00;}
</style>
 <div class="wind_content1R">
      <span class="wind_content1Rspan"><span class="wind_spanss1">站内信</span>&nbsp;&nbsp;&nbsp;&nbsp; <a {if $_GET['new']==1}class="newaa"{/if} href="index.php?g=User&m=Index&a=message&new=1">未读</a> &nbsp;&nbsp;|&nbsp;&nbsp;<a {if $_GET['new']==2}class="newaa"{/if} href="index.php?g=User&m=Index&a=message&new=2">已读</a> &nbsp;&nbsp;|&nbsp;&nbsp;<a  href="index.php?g=User&m=Index&a=message_all">全部设为已读</a></span>
     <!-- <ul>
        <li class="wind_times">发帖时间&nbsp;&nbsp;&nbsp;<input type="text" name=""/>&nbsp;-&nbsp;<input type="text" name="" /></li>
      </ul>-->
      <ul class="wind_content1Rspanul1">
           <volist name="list" id="r">
            <li>
              <a href="index.php?g=User&m=Index&a=message_show&id={$r['id']}">{$r['title']}</a>
              <span class="wind_content1Rspanspan">
                <?php $read=explode(",",$r['read']);?>
                 {if in_array($userid, $read)}
                    已读
                  {else}
                    未读
                  {/if}
                <span style="float:right;">{$r.createtime|toDate=###,'Y-m-d H:i:s'}</span>
              </span>
            </li>
           </volist>
      </ul>
      <ul class="paging" style="margin-top:50px; height:50px;">
        <?php echo $pages ?>
        <div class="clear"></div>
    </ul>
    </div>
    <div style="clear:both;margin-bottom:20px;"></div>
  </div>
</div>

<div class="clear"></div>                                                                                                                                                                                                                                                                                                                                                                                                                                                